#ifndef _CAIRO_GRAPHICS
#define _CAIRO_GRAPHICS

#include "cairo.h"
#include "cairo-win32.h"
#include "FigureDraw.h"
#include <math.h>

const double PI = 3.141592653589793238462;
class CairoGraphics: public FigureDraw
{
private:
	cairo_t *context;
public:
	CairoGraphics();
	void drawLine(int x1, int y1, int x2, int y2, string stroke, int strokeWidth);
	void drawRectangle(int x, int y, int width, int height, string stroke, int strokeWidth, string fill);
	void drawEllipse(int cx, int cy, int rx, int ry, string stroke, int strokeWidth, string fill);
};
#endif